package com.probox.common.entity.domain.order.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 购物车对象
 */
@Data
@ApiModel("操作购物车参数")
public class ShopCartVo implements java.io.Serializable {
    //商品ID
    @ApiModelProperty(value = "商品ID;添加购物车、修改购物车商品SKU必填,立即购买选填，立即购买商品必填，立即购买活动不填")
    private Long productId;
    //商品SKUID
    @ApiModelProperty(value = "商品SKUID;添加购物车、修改购物车商品SKU必填,立即购买选填，立即购买商品含SKU必填，立即购买活动不填")
    private Long skuId;
    //活动ID
    @ApiModelProperty(value = "活动ID;立即购买套餐活动必填，其他活动不填")
    private Long activityId;
    //购买数量
    @ApiModelProperty(value = "购买数量;添加购物车、立即购买、修改数量必填")
    private Long amount;
    //购物车ID
    @ApiModelProperty(value = "购物车ID;修改购物车数量、SKU必填")
    private Long cartId;
    //购物车ID列表，用于删除和结算
    @ApiModelProperty(value = "购物车ID集合;结算购物车、删除购物车必填")
    private List<Long> cartList;

    //客户ID
    @ApiModelProperty("客户ID，系统自动获取，不用传参")
    private Long customerId;

    //活动下面的产品ID
    private Long activityProUid;

    /**
     * 结算状态
     */
    private String settlementStatus;

    //产品类型(product-实物/card-套餐卡/service-服务项目)
    private String proType;

    //门店ID
    private Long storeId;

    //叠叠乐购买的时候需要传子项目ID集合
    private List<Long> itemList;
    //是否为叠叠乐
    private Boolean isDdl;

    //优惠券ID
    private Long couponId;

    private String proTag;
}
